
def z(m):
    return m%7==0
if __name__ == '__main__':
    f=lambda a,b:a**b
    r=f(13,2)
    print(r)
    a=[1,3,5,6,7,8,9,14,21,22,23]
    #只要能被7整除的数
    # x=filter(z,a)
    # y=[i for i in x]
    # print(y)
    b=list(filter(lambda x:x%7==0,a))
    print(b)
    c=[["张武",190],["刘思",200],["张松",181],["laowu",170],["小五",151]]
    #按照成绩来排序
    c.sort(key=lambda x: x[1], reverse=True)
    print("排序后",c)